package com.my.chapter16;

import java.util.Arrays;

public class practice6 {
    static BerylliumSphere[][] createArray(int xLen,int yLen){
        BerylliumSphere[][] b = new BerylliumSphere[xLen][yLen];
        for(int i=0;i<b.length;i++){
            for(int j=0;j<b[i].length;j++){
                b[i][j] = new BerylliumSphere();
            }
        }
        return b;
    }

    public static void main(String[] args) {
        System.out.println(Arrays.deepToString(createArray(2,3)));
    }
}
